<template>
  <div class="da">
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <div class="footer">
      <van-tabbar v-model="active" route>
  <van-tabbar-item name="home" icon="home-o" to="/">首页</van-tabbar-item>
  <van-tabbar-item name="search" icon="apps-o" to="/kind">分类</van-tabbar-item>
  <van-tabbar-item name="friends" icon="cart-o" to="/shop">购物车</van-tabbar-item>
  <van-tabbar-item name="setting" icon="manager-o" to="/user">我的</van-tabbar-item>
</van-tabbar>
    </div>
  </div>
  <router-view/>
</template>

<style lang="scss">
  *{
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .da{
    width: 100%;
    height: 100%;
  }
  html,
  body,
  #app
  .da{
    display: flex;
    // flex: 1;
    // overflow: auto;
    flex-direction: column;
  }
  .box{
    display: flex;
    overflow: auto;
    flex-direction: column;
    flex: 1;
  }
  .header{
    height: 3.125rem;
  }

  .footer{
    height: 3.125rem;
  }
</style>
